package com.wzcl.app.model.vo;

import com.wzcl.app.dao.model.SysDictInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.beans.BeanUtils;

@EqualsAndHashCode(callSuper = false)
@Data
public class SysDictInfoVo extends BaseVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "值")
    private Integer valueName;

    @ApiModelProperty(value = "key")
    private String keyName;

    @ApiModelProperty(value = "描述")
    private String depict;

    private SysDictInfoVo() {

    }

    public static SysDictInfoVo create(SysDictInfo sysDictInfo) {
        SysDictInfoVo sysDictInfoVo = new SysDictInfoVo();
        BeanUtils.copyProperties(sysDictInfo, sysDictInfoVo);
        sysDictInfoVo.translationValueStr();
        return sysDictInfoVo;
    }

    @Override
    public void translationValueStr() {

    }

    @Override
    public void processResources() {

    }
}
